package com.jeeplus.mob.mapper;

import com.jeeplus.mob.entity.mobpojo.WaycardrecordInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface WaycardrecordInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WaycardrecordInfo record);

    int insertSelective(WaycardrecordInfo record);

    WaycardrecordInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WaycardrecordInfo record);

    int updateByPrimaryKey(WaycardrecordInfo record);

    int insertCardrecord(WaycardrecordInfo waycardrecordInfo);

    List<WaycardrecordInfo> getWaycardrecordInfoByIds(@Param("ids") String id);

    List<WaycardrecordInfo> getWaycardrecordInfoByUserDate(Map<String,Object> map);
}